package com.chenyue.cm.user.service;

import com.chenyue.cm.base.service.BaseServiceIface;
import com.chenyue.cm.user.domain.JdAppUserRole;

/**
 * @author chenyue-cm
 */
public interface JdAppUserRoleService extends BaseServiceIface<JdAppUserRole> {

    /**
     * 设置角色
     *
     * @param userId 用户id
     * @param role   角色
     */
    void setRole(Integer userId, Integer role);

}